back · tests/capture.spec.ts:51:2 @ androide2e all / Camera
Error: expect(locator).toBeVisible() failed
Locator: getByRole('button', { name: 'Voir les 2 photos prises', exact: true })
Expected: visible
Timeout: 5000ms
Error: element(s) not found
Call log:
- Expect "soft toBeVisible" with timeout 5000ms
- waiting for getByRole('button', { name: 'Voir les 2 photos prises', exact: true })
at expectPhotoCount (tests/capture.spec.ts:41:65)
at tests/capture.spec.ts:59:3
Error: expect(locator).toHaveText(expected) failed
Locator: getByTestId('floating-messages')
Expected: "Import: 1/2 (50%)"
Timeout: 10000ms
Error: element(s) not found
Call log:
- Expect "soft toHaveText" with timeout 10000ms
- waiting for getByTestId('floating-messages')
3 × locator resolved to <section pw-testid="floating-messages" class="floating-messages svelte-p4evm4">…</section>
- unexpected value ""
at tests/capture.spec.ts:62:55
Error: expect(locator).toHaveCount(expected) failed
Locator: getByTestId('observations-area').getByRole('article')
Expected: 2
Received: 1
Timeout: 5000ms
Call log:
- Expect "soft toHaveCount" with timeout 5000ms
- waiting for getByTestId('observations-area').getByRole('article')
14 × locator resolved to 1 element
- unexpected value "1"
at tests/capture.spec.ts:68:40
Error: expect(locator).toHaveText(expected) failed
Locator: getByTestId('floating-messages')
Expected: "Import: 1/2 (50%)"
Timeout: 10000ms
Error: element(s) not found
Call log:
- Expect "soft toHaveText" with timeout 10000ms
- waiting for getByTestId('floating-messages')
4 × locator resolved to <section pw-testid="floating-messages" class="floating-messages svelte-p4evm4">…</section>
- unexpected value ""
at tests/capture.spec.ts:62:55
Error: expect(locator).toBeVisible() failed
Locator: getByRole('button', { name: 'Voir les 2 photos prises', exact: true })
Expected: visible
Timeout: 5000ms
Error: element(s) not found
Call log:
- Expect "soft toBeVisible" with timeout 5000ms
- waiting for getByRole('button', { name: 'Voir les 2 photos prises', exact: true })
at expectPhotoCount (tests/capture.spec.ts:41:65)
at tests/capture.spec.ts:59:3
Error: expect(locator).toHaveCount(expected) failed
Locator: getByTestId('observations-area').getByRole('article')
Expected: 2
Received: 1
Timeout: 5000ms
Call log:
- Expect "soft toHaveCount" with timeout 5000ms
- waiting for getByTestId('observations-area').getByRole('article')
14 × locator resolved to 1 element
- unexpected value "1"
at tests/capture.spec.ts:68:40
Error: expect(locator).toBeVisible() failed
Locator: getByRole('button', { name: 'Voir les 2 photos prises', exact: true })
Expected: visible
Timeout: 5000ms
Error: element(s) not found
Call log:
- Expect "soft toBeVisible" with timeout 5000ms
- waiting for getByRole('button', { name: 'Voir les 2 photos prises', exact: true })
at expectPhotoCount (tests/capture.spec.ts:41:65)
at tests/capture.spec.ts:59:3
Error: expect(locator).toHaveText(expected) failed
Locator: getByTestId('floating-messages')
Expected: "Import: 1/2 (50%)"
Timeout: 10000ms
Error: element(s) not found
Call log:
- Expect "soft toHaveText" with timeout 10000ms
- waiting for getByTestId('floating-messages')
5 × locator resolved to <section pw-testid="floating-messages" class="floating-messages svelte-p4evm4">…</section>
- unexpected value ""
at tests/capture.spec.ts:62:55
Error: expect(locator).toHaveCount(expected) failed
Locator: getByTestId('observations-area').getByRole('article')
Expected: 2
Received: 1
Timeout: 5000ms
Call log:
- Expect "soft toHaveCount" with timeout 5000ms
- waiting for getByTestId('observations-area').getByRole('article')
14 × locator resolved to 1 element
- unexpected value "1"
at tests/capture.spec.ts:68:40
Error: expect(locator).toHaveCount(expected) failed
Locator: getByTestId('observations-area').getByRole('article')
Expected: 2
Received: 1
Timeout: 5000ms
Call log:
- Expect "soft toHaveCount" with timeout 5000ms
- waiting for getByTestId('observations-area').getByRole('article')
14 × locator resolved to 1 element
- unexpected value "1"
at tests/capture.spec.ts:68:40
Error: expect(locator).toHaveText(expected) failed
Locator: getByTestId('floating-messages')
Expected: "Import: 1/2 (50%)"
Timeout: 10000ms
Error: element(s) not found
Call log:
- Expect "soft toHaveText" with timeout 10000ms
- waiting for getByTestId('floating-messages')
4 × locator resolved to <section pw-testid="floating-messages" class="floating-messages svelte-p4evm4">…</section>
- unexpected value ""
at tests/capture.spec.ts:62:55
Error: expect(locator).toBeVisible() failed
Locator: getByRole('button', { name: 'Voir les 2 photos prises', exact: true })
Expected: visible
Timeout: 5000ms
Error: element(s) not found
Call log:
- Expect "soft toBeVisible" with timeout 5000ms
- waiting for getByRole('button', { name: 'Voir les 2 photos prises', exact: true })
at expectPhotoCount (tests/capture.spec.ts:41:65)
at tests/capture.spec.ts:59:3
Error: expect(locator).toHaveText(expected) failed
Locator: getByTestId('floating-messages')
Expected: "Import: 1/2 (50%)"
Timeout: 10000ms
Error: element(s) not found
Call log:
- Expect "soft toHaveText" with timeout 10000ms
- waiting for getByTestId('floating-messages')
4 × locator resolved to <section pw-testid="floating-messages" class="floating-messages svelte-p4evm4">…</section>
- unexpected value ""
at tests/capture.spec.ts:62:55
Error: expect(locator).toBeVisible() failed
Locator: getByRole('button', { name: 'Voir les 2 photos prises', exact: true })
Expected: visible
Timeout: 5000ms
Error: element(s) not found
Call log:
- Expect "soft toBeVisible" with timeout 5000ms
- waiting for getByRole('button', { name: 'Voir les 2 photos prises', exact: true })
at expectPhotoCount (tests/capture.spec.ts:41:65)
at tests/capture.spec.ts:59:3
Error: expect(locator).toHaveCount(expected) failed
Locator: getByTestId('observations-area').getByRole('article')
Expected: 2
Received: 1
Timeout: 5000ms
Call log:
- Expect "soft toHaveCount" with timeout 5000ms
- waiting for getByTestId('observations-area').getByRole('article')
14 × locator resolved to 1 element
- unexpected value "1"
at tests/capture.spec.ts:68:40